xsm: rework policy_buffer globals
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Thu, 14 Jul 2016 14:18:46 +0000 (10:18 -0400)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Jul 2016 14:32:31 +0000 (15:32 +0100)
commite04b562377b3a50e48eb691145c3b95c19a78658
tree84c10fa6b65fc51e3df3403f44813c6111da74fd
parentebc8c6cdeb36235f2421a894c236fa2bf1be33da
xsm: rework policy_buffer globals

This makes the buffers function parameters instead of globals, in
preparation for adding alternate locations for the policy.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/xsm/xsm.h
xen/xsm/flask/hooks.c
xen/xsm/flask/include/security.h
xen/xsm/flask/ss/policydb.h
xen/xsm/flask/ss/services.c
xen/xsm/xsm_core.c
xen/xsm/xsm_policy.c